package com.smartEdu.controller.web;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class Login {
//	@RequestMapping(value="login")
//	public String login(HttpServletRequest request,HttpServletResponse response) throws Exception{
//		Map<String,Object> session = new HashMap<String,Object>();
//		String sessionID=request.getSession().getId();
//		/*WebApplicationContext applicationContext = RequestContextUtils.getWebApplicationContext(request);
//		WebApplicationContext webApplicationContext = ContextLoader.getCurrentWebApplicationContext();  
//        ServletContext servletContext = webApplicationContext.getServletContext();*/
//		System.out.println("sessionID:"+sessionID);
//		session.put("sessionID", sessionID);
//		return "/login/loginroom";
//	}
}
